import request from "../utils/request";

// 添加路径
export const addWeaponRoutes = (data) => {
    return request.post("/WeaponRoutes/AddWeaponRoutes", data)
}

// 修改路径
export const updateWeaponRoutes = (data) => {
    return request.post("/WeaponRoutes/UpdateWeaponRoutes", data)
}

// 获取所有路径
export const getAllWeaponRoutes = (params) => {
    return request.get("/WeaponRoutes/GetAllWeaponRoutes", {
        params
    })
}

// 删除路径
export const deleteWeaponRoutes = (params) => {
    return request.delete("/WeaponRoutes/DeleteWeaponRoutes", {
        params
    })
}

// 场景绑定路径
export const senceBindRouter = (params) => {
    return request.get("/WeaponRoutes/SenceBindRouter", {
        params
    })
}

// 获取场景下所有武器路径
export const getSenceBindRouter = (params) => {
    return request.get("/WeaponRoutes/GetSenceBindRouter", {
        params
    })
}

// 
export const getRouterBindStatus = (params) => {
    return request.get("/WeaponRoutes/GetRouterBindStatus", {
        params
    })
}